package com.jointsky.jointframe.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.jointsky.jointframe.entity.SysUserRole;
import com.jointsky.jointframe.mapper.SysUserRoleMapper;

public class SysUserRoleService {
	
	@Autowired
    private SysUserRoleMapper userRoleMapper;

    public List<SysUserRole> listByUserId(Integer userId) {
        return userRoleMapper.listByUserId(userId);
    }

}
